﻿using System;
using Castle.ActiveRecord;

namespace Entity
{
    [ActiveRecord]
    public class AdminRole : ActiveRecordBase<AdminRole>
    {
        [PrimaryKey(PrimaryKeyType.Native, "RoleID")]
        public int RoleID { get; set; }

        [Property]
        public string RoleName { get; set; }

        [Property]
        public DateTime RoleTime { get; set; }

        [Property]
        public string RoleContent { get; set; }
    }
}